package com.rpframework.website.device.domain;

import com.rpframework.core.Domain;
import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;

/**
 * 商品表
 * @author zhangli
 * @date 2016年3月24日 上午9:47:35
 */
@TableMapperAnnotation(tableName = "t_convert", uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id") 
public class Convert extends Domain {

	private static final long serialVersionUID = 4178996028162534134L;
	
	@FieldMapperAnnotation 
	Integer id;
	/**
	 * logo图片
	 */
	@FieldMapperAnnotation 
	String logoUrl;
	/**
	 * 商品名称
	 */
	@FieldMapperAnnotation 
	String name;
	/**
	 * 图片
	 */
	@FieldMapperAnnotation 
	String urlList;
	/**
	 * 兑换单个商品需要积分值
	 */
	@FieldMapperAnnotation 
	Integer converts;
	/**
	 * 原价
	 */
	@FieldMapperAnnotation 
	Double price;
	/**
	 * 库存数量
	 */
	@FieldMapperAnnotation 
	Integer stock;
	/**
	 * 详情图片
	 */
	@FieldMapperAnnotation 
	String detList;
	/**
	 * 详情内容
	 */
	@FieldMapperAnnotation 
	String info;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getLogoUrl() {
		return logoUrl;
	}
	public void setLogoUrl(String logoUrl) {
		this.logoUrl = logoUrl;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrlList() {
		return urlList;
	}
	public void setUrlList(String urlList) {
		this.urlList = urlList;
	}
	public Double getPrice() {
		return price;
	}
	public Integer getConverts() {
		return converts;
	}
	public void setConverts(Integer converts) {
		this.converts = converts;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public Integer getStock() {
		return stock;
	}
	public void setStock(Integer stock) {
		this.stock = stock;
	}
	public String getDetList() {
		return detList;
	}
	public void setDetList(String detList) {
		this.detList = detList;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	
}
